package com.lvmama.pangolin.mybatis.mapper.tc;

import java.util.List;
import java.util.Map;

import com.lvmama.pangolin.entity.spider.TicketCommodity;
import com.lvmama.pangolin.entity.tc.TCTicket_CommodityDetail;





public interface TCTicketCommodityDetailMapper {
	/**  
	* @Title：TicketCommodityMapper.java
	* @Author:zhoutianqi
	* @Description:
	* @Date：2017年2月15日下午5:47:02  
	*/
	public List<TCTicket_CommodityDetail> getTCTicket_CommodityDetailListByID(Map<String,Object> map);
	public int insertCommodityDetailLog(TCTicket_CommodityDetail detail);
	public List<TCTicket_CommodityDetail> selectAllLog();
	public List<TCTicket_CommodityDetail> queryLogByMap(Map<String,Object> map);
	public int deleteLogByMap(Map<String,Object> map);
	public int updateLog(TCTicket_CommodityDetail detail);
	public int deleteLogByID(String detail_id);
	public List<TCTicket_CommodityDetail> getTCTicket_CommodityDetailLogListByID(Map<String,Object> map);


	public int insert(TicketCommodity record);
	
	public int insertSelective(TicketCommodity record);
	int deletePreviousData(int limit);
	public int deleteByTaskAndProd(TicketCommodity record);
}
